<%@ page language="java" contentType="text/html; charset=UTF-8" pageEncoding="UTF-8"%>
<form action="${param.action}" method="post">
	<input type="hidden" name="id" value="${model.id}" />
	<div class="custom-form">
		<ul>
			<li><span>公司名称：</span><input name="name" type="text" class="easyui-textbox" data-options="required:true,validType:['length[1,31]','htmlUnescape']" value="${model.name}" /></li>
			<li><span>员工：</span><input name="user.id" type="text" class="easyui-combotree"
				data-options="required:true,url:'sys/user/combotree',valueField:'id',textField:'name',method:'get',icons:[clearInput_icon],onBeforeSelect:function(node){return $(this).tree('isLeaf',node.target);}"
				value="${model.user.id}" /></li>
			<li><span>公司性质：</span><input name="feature" type="text" class="easyui-textbox" data-options="validType:['length[1,31]','htmlUnescape']" value="${model.feature}" /></li>
			<li><span>所属行业：</span><input name="industry" type="text" class="easyui-textbox" data-options="validType:['length[1,31]','htmlUnescape']" value="${model.industry}" /></li>
			<li><span>公司规模：</span><input name="size" type="text" class="easyui-textbox" data-options="validType:['length[1,31]','htmlUnescape']" value="${model.size}" /></li>
			<li><span>部门：</span><input name="dept" type="text" class="easyui-textbox" data-options="validType:['length[1,31]','htmlUnescape']" value="${model.dept}" /></li>
			<li><span>职务：</span><input name="duty" type="text" class="easyui-textbox" data-options="validType:['length[1,31]','htmlUnescape']" value="${model.duty}" /></li>
			<li><span>月薪：</span><input name="pay" type="text" class="easyui-numberspinner" value="${model.pay}" /></li>
			<li><span>离职原因：</span><input name="leaving" type="text" class="easyui-textbox" data-options="validType:['length[1,255]','htmlUnescape']" value="${model.leaving}" /></li>
			<li><span>证明人：</span><input name="reterence" type="text" class="easyui-textbox" data-options="validType:['length[1,31]','htmlUnescape']" value="${model.reterence}" /></li>
			<li><span>联系电话：</span><input name="telphone" type="text" class="easyui-textbox" data-options="validType:['length[1,31]','htmlUnescape']" value="${model.telphone}" /></li>
			<li><span>开始日期：</span><input name="startDate" type="text" class="easyui-datebox" data-options="required:true" value="${model.startDate}" /></li>
			<li><span>结束日期：</span><input name="endDate" type="text" class="easyui-datebox" data-options="required:true" value="${model.endDate}" /></li>
			<li><span>排序：</span><input name="sort" type="text" class="easyui-numberspinner" data-options="required:true" value="${model.sort}" /></li>
			<li><span>备注：</span><input name="description" type="text" class="easyui-textbox" data-options="multiline:true,height:100,validType:['length[1,255]','htmlUnescape']"
				value="${model.description}" /></li>
		</ul>
		<input type="hidden" name="_dontcare" value="_dontcare"/>
	</div>
</form>